package com.jader.beans;

import java.io.Serializable;

public class Evalute implements Serializable {
	private static final long serialVersionUID = 1L;
	private int evaluteid;
	private int userid;
	private int goodsid;
	private String time;
	private String content;

	public Evalute() {
		super();
	}

	public Evalute(int evaluteid, int userid, int goodsid, String time,
			String content) {
		super();
		this.evaluteid = evaluteid;
		this.userid = userid;
		this.goodsid = goodsid;
		this.time = time;
		this.content = content;
	}

	public int getEvaluteid() {
		return evaluteid;
	}

	public void setEvaluteid(int evaluteid) {
		this.evaluteid = evaluteid;
	}

	public int getUserid() {
		return userid;
	}

	public void setUserid(int userid) {
		this.userid = userid;
	}

	public int getGoodsid() {
		return goodsid;
	}

	public void setGoodsid(int goodsid) {
		this.goodsid = goodsid;
	}

	public String getTime() {
		return time;
	}

	public void setTime(String time) {
		this.time = time;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	@Override
	public String toString() {
		return "Evalute [evaluteid=" + evaluteid + ", userid=" + userid
				+ ", goodsid=" + goodsid + ", time=" + time + ", content="
				+ content + "]";
	}

	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + evaluteid;
		return result;
	}

	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		Evalute other = (Evalute) obj;
		if (evaluteid != other.evaluteid)
			return false;
		return true;
	}

}
